"use client"
import { Button, Alert } from 'antd'

const Home = () => {
  const go = () => {
    window.location.href = '/analysis'
  }
  return (
    <div className="space-y-4">
      <Alert message="前端已就绪：Next.js + Tailwind + Ant Design" type="success" showIcon />
      <div>
        <Button type="primary" onClick={go}>进入分析</Button>
      </div>
      <p className="text-sm text-gray-500 dark:text-gray-400">暗黑模式可通过右上角开关切换</p>
    </div>
  )
}

export default Home

